package com.ruoyi.loupan.service.impl;

import java.util.List;
import com.ruoyi.common.core.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.loupan.mapper.SysRegionMapper;
import com.ruoyi.loupan.domain.SysRegion;
import com.ruoyi.loupan.service.ISysRegionService;

/**
 * 地区Service业务层处理
 * 
 * @author wukaige
 * @date 2021-06-25
 */
@Service
public class SysRegionServiceImpl implements ISysRegionService 
{
    @Autowired
    private SysRegionMapper sysRegionMapper;


    @Override
    public List<SysRegion> getsheng() {
        return sysRegionMapper.getsheng();
    }

    @Override
    public List<SysRegion> getshi(Long pid) {
        System.out.println("pid"+pid);
        return sysRegionMapper.getshi(pid);
    }
}
